/*
 * @Author: Wxx
 * @Date: 2022-02-24 15:51:29
 * @LastEditors: Wxx
 * @LastEditTime: 2022-02-24 17:57:54
 * @Description:
 */
import React, { Component } from "react";
import { withRouter } from "react-router-dom";

class Center extends Component {
  render() {
    return (
      <div>
        <button
          onClick={() => {
            this.props.history.push("/order");
          }}
        >
          订单
        </button>
      </div>
    );
  }
}

export default withRouter(Center);
